[Unit]
Description=kibana Service
After=network.target

[Service]
Type=simple
User=appadmin
Group=users
Environment=JAVA_HOME={{ java_home }}
EnvironmentFile=-"{{ install_path }}/kibana/config"
ExecStart="{{ install_path }}/kibana/bin/kibana"
PIDFile="{{ install_path }}/kibana/kibana.pid"
LimitNOFILE=65536
Restart=on-failure

[Install]
WantedBy=default.target